package com.linln.modules.system.dao;

import com.github.pagehelper.Page;
import com.linln.modules.system.entity.UserBill;
import com.linln.modules.system.entity.UserBillExample;
import com.linln.modules.system.vo.UserBillVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface UserBillMapper {
    int countByExample(UserBillExample example);

    int deleteByExample(UserBillExample example);

    int deleteByPrimaryKey(String id);

    int insert(UserBill record);

    int insertSelective(UserBill record);

    List<UserBill> selectByExample(UserBillExample example);

    UserBill selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UserBill record, @Param("example") UserBillExample example);

    int updateByExample(@Param("record") UserBill record, @Param("example") UserBillExample example);

    int updateByPrimaryKeySelective(UserBill record);

    int updateByPrimaryKey(UserBill record);

    Page<UserBillVO> getUserBillVOs(@Param("userId") String userId) throws Exception;
}